<#include "../../head.ftl">
<div class="page_title">客户信息管理 > 客户信息 > 历史订单 </div>
<div class="button_bar">
    <button class="common_button" onclick="help('');">帮助</button>
    <button class="common_button" onclick="back();">返回</button>
</div>
<table class="query_form_table">
    <tr>
        <th>客户编号</th>
        <td>${customer.identity}</td>
        <th>客户名称</th>
        <td>${customer.name}</td>
    </tr>
</table>
<br />
<table class="data_list_table">
    <tr>
        <th>订单编号</th>
        <th>日期</th>
        <th>送货地址</th>
        <th>状态</th>
        <th>操作</th>
    </tr>
    <#list ordersList as orders>
    <tr>
        <td class="list_data_text">${orders.id}</td>
        <td class="list_data_text">${orders.createtime?string("yyyy年MM月dd日")}</td>
        <td class="list_data_text">${orders.address!''}</td>
        <td class="list_data_text">${orders.status!''}</td>
        <td class="list_data_op">
            <a href="${base}/orders/query?id=${orders.id}">
                <img title="查看明细" src="../../images/bt_detail.gif" class="op_button" />
            </a>
        </td>
    </tr>
    </#list>
</table>
</body>
</html>